package io.renren.modules.upk.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.upk.dao.UpkDeliverywayDao;
import io.renren.modules.upk.entity.UpkDeliverywayEntity;
import io.renren.modules.upk.service.UpkDeliverywayService;


@Service("upkDeliverywayService")
public class UpkDeliverywayServiceImpl extends ServiceImpl<UpkDeliverywayDao, UpkDeliverywayEntity> implements UpkDeliverywayService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<UpkDeliverywayEntity> page = this.selectPage(
                new Query<UpkDeliverywayEntity>(params).getPage(),
                new EntityWrapper<UpkDeliverywayEntity>()
        );

        return new PageUtils(page);
    }

}
